<template>
    <div class="page-body">
          <!-- 表格  :loading="tableLoading"-->
          <a-row class="totalBox">
            <a-table  :columns="columns" :row-key="record => record.orgAndEmployerId"
              :data-source="tableData" :pagination="false" class="aTable" :scroll="{ y: true }">
              <template slot="title">
                (单位：万元)
              </template>
              <!-- <template slot="footer" slot-scope="text, record">
                {{ record }}
              </template> -->
            </a-table>
          </a-row>
      </div>
  </template>
  
  <script>
  export default {
      props: {
        // 表头
          columns: {
              type: Array,
              default() {
                  return []
              },
          },
          // 表数据
          tableData: {
              type: Array,
              default() {
                  return []
              },
          },
      },
      data(){
          return {
  
          }
      },
      methods: {
      }
  }
  </script>
  
  <style scope lang="less">
  .totalBox {
    padding-left: 20px;
    
  }
 .aTable{
    width: 100%;
    // height: 290px;
    overflow-x: hidden;
 }
  .ant-table-title{
    text-align: right;
    margin-top:-18px
  }
// .aTable .ant-table-content .ant-table-tbody tr:last-child {
//     background: red;
// }
  </style>